home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19990725-20000114 / 000117_news@columbia.edu _Mon Sep 27 19:51:26 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  2KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA25329
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Mon, 27 Sep 1999 19:51:26 -0400 (EDT)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA20254
  7.     for kermit.misc@watsun.cc.columbia.edu; Mon, 27 Sep 1999 19:23:59 -0400 (EDT)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: jrd@cc.usu.edu (Joe Doupnik)
  10. Subject: Re: CLEAR failure?
  11. Message-ID: <MwRIAFVTXkAR@cc.usu.edu>
  12. Date: 27 Sep 99 10:11:45 MDT
  13. Organization: Utah State University
  14. To: kermit.misc@columbia.edu
  15.  
  16. In article <ruur5lke3i571@corp.supernews.com>, no_spam@adams.patriot.net () writes:
  17. > This loop in my MS-Kermit 3.15 dialing script appears to be
  18. > infinite. Is there something I'm missing about the CLEAR and
  19. > REINPUT commands? I would expect REINPUT 0 <anything> to fail
  20. > after the input buffer has been cleared.
  21. >  
  22. >     clear
  23. > :clear_loop
  24. >     reinput 0 CARRIER
  25. >     if failure forward clear_exit
  26. >     echo DEBUG: Buffer did not clear
  27. >     clear
  28. >     pause 1
  29. >     if failure forward user_cancelled
  30. >     goto clear_loop
  31. > :clear_exit
  32. > Thanks,
  33. > David Winfrey
  34. ---------
  35.     The CLEAR command removes existing material. More importantly
  36. REINPUT looks at existing material and there is no command above to get
  37. fresh material. Thus a failure of REINPUT will persist. The better approach
  38. would be to use INPUT rather than REINPUT.
  39.     Joe D.
  40.